#ifndef _BSP_HP_RTC_ALARM_H
#define _BSP_HP_RTC_ALARM_H

// 闹钟
#include "../../imx6ul/imx6ul.h"
#include "../beep/bsp_beep.h"
#include "../delay/bsp_delay.h"
#include "../int/bsp_int.h"
#include "bsp_hp_rtc.h"

// 中断函数
void alarm_irq(unsigned int giccIar, void *param);

void RTC_HP_Alarm_Disable(void);
void RTC_HP_Alarm_Enable(void);
void RTC_HP_Alarm_Setdatetime(rtc_datetime *datetime);
void RTC_HP_Alarm_Init(void);

#endif